﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Azure.AI.TextAnalytics;

namespace TabbedTemplate.Services
{
    public interface ITextAnalysisService {
        /// <summary>
        /// DocumentSentiment.Sentences中含有Positive、Negative、Neutral三种感情的分析
        /// </summary>
        /// <param name="content">需要文本分析的内容</param>
        /// <returns></returns>
        Task<DocumentSentiment> AnalysisEmotionAsync(string content);

        string ConvertHtmlToText(string html);
    }
}
